﻿using System;

/*
  <reference>
      <type>message</type>
      <id>1101</id>
      <url>https://www.yammer.com/api/v1/messages/1101</url>
      <web-url>https://www.yammer.com/messages/1101</web-url>
      <replied-to-id nil="true">/>
      <direct-to-id>1005</direct-to-id>
      <body>
        <plain>Welcome to the Geni network!</plain>
      </body>
      <sender-id>1</sender-id>
      <sender-type>guide</sender-type>
      <created-at>2008-09-12T17:35:43Z</created-at>
  </reference> 
*/

namespace Dimebrain.TweetSharp.Model
{
    [Serializable]
    public class YammerMessageReference : PropertyChangedBase, IYammerModel
    {
        public long Id { get; set; }
        public long? DirectToId { get; set; }
        public string Url { get; set; }
        public string WebUrl { get; set; }
        public long? RepliedToId { get; set; }
        public YammerMessageBody Body { get; set; }
        public YammerMessageType Type { get; set; }
        public long SenderId { get; set; }
        public YammerSenderType SenderType { get; set; }
        public DateTime CreatedDate { get; set; }
    }
}